/**
 * 订单管理
 *
 */

const purchaseRoutes = [
  {
    path: "/purchase",
    component: () => import("@/layout"),
    redirect: "/purchase/list",
    name: "purchase",
    meta: {
      title: "订单管理",
      icon: "el-icon-folder-opened",
      keepAlive: true,
    },
    alwaysShow: true,
    children: [
      {
        path: "/purchase/list",
        component: () => import("@/views/purchase/index"),
        name: "purchase_list",
        meta: {
          title: "订单列表",
          icon: "el-icon-star-on",
          keepAlive: true,
        },
      },
    
      {
        path: "/product/list",
        component: () => import("@/views/product/index"),
        name: "product_list",
        meta: {
          title: "商品列表",
          icon: "el-icon-star-on",
          keepAlive: true,
        },
      },
      
    ],
  },
];

export default purchaseRoutes;
